package com.kaka.bus.bean;

/**
 * Created by zhangqi on 2016/12/22.
 */

public class MyInfo<T> {

    private T data;
    private MyInfoEnum type;

    public MyInfo(T data,MyInfoEnum type){
        this.data = data;
        this.type = type;
    }

    public MyInfo(MyInfoEnum type){
        this.type = type;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public MyInfoEnum getType() {
        return type;
    }

    public void setType(MyInfoEnum type) {
        this.type = type;
    }

    public enum MyInfoEnum{
        repay_home, downerror, installApp, downinfo,
    }
}
